package com.fqgj.xjd.user.dao.impl;

import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.xjd.user.dao.UserOcrPassportBackDao;
import com.fqgj.xjd.user.entity.UserOcrPassportBackEntity;
import org.springframework.stereotype.Repository;

/**
 * User: liuming
 * Date: 2018-11-13
 * Time: 11:47:09.907
 */

@Repository
public class UserOcrPassportBackDaoImpl extends AbstractBaseMapper<UserOcrPassportBackEntity> implements UserOcrPassportBackDao {

    @Override
    public int deleteByUserCode(String userCode) {
        return getSqlSession().update(getStatement("deleteByUserCode"), userCode);
    }
}